package com.duoec.dw.lineage.dto;

import java.util.LinkedHashSet;

/**
 * 表字段的上游依赖关系
 *
 * @author xuwenzhen
 */
public class TableFieldLineageDto extends TableFieldDto {
    /**
     * 本字段的上游依赖关系
     */
    private LinkedHashSet<TableFieldDependencyDto> dependencies;

    /**
     * 是否数值转换过来，比如 1 as status
     */
    private boolean valuable = false;

    public LinkedHashSet<TableFieldDependencyDto> getDependencies() {
        return dependencies;
    }

    public void setDependencies(LinkedHashSet<TableFieldDependencyDto> dependencies) {
        this.dependencies = dependencies;
    }

    @Override
    public boolean equals(Object o) {
        return super.equals(o);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    public boolean getValuable() {
        return valuable;
    }

    public void setValuable(boolean valuable) {
        this.valuable = valuable;
    }
}
